﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using EBSystem.Data;
using Microsoft.Toolkit.Mvvm.ComponentModel;

namespace EBSystem.ViewModels
{
    public class UserSourceViewModel : ObservableObject
    {
        private string? userName = UserData.userName;
        public string? UserName
        {
            get => userName;
            set
            {
                userName = value;
                OnPropertyChanged();
            }
        }

        private string? nickName = UserData.nickName;
        public string? NickName
        {
            get => nickName;
            set
            {
                nickName = value;
                OnPropertyChanged();
            }
        }

        private string? email = UserData.email;
        public string? Email
        {
            get => email;
            set
            {
                email = value;
                OnPropertyChanged();
            }
        }

        private string? phoneNumber = UserData.phoneNumber;
        public string? PhoneNumber
        {
            get => phoneNumber;
            set
            {
                phoneNumber = value;
                OnPropertyChanged();
            }
        }

        private List<TextBox>? deliveryAddress;
        public List<TextBox>? DeliveryAddress
        {
            get => deliveryAddress;
            set
            {
                deliveryAddress = value;
                OnPropertyChanged();
            }
        }
    }
}
